solution to thevenin theorem problems